package com.masterlu.ioc.bean;

import lombok.Data;

/**
 * @Author：masterlu
 * @Date：2021/7/6 10:09 下午
 */
@Data
public class User {

    public User() {
        System.out.println("User实例化");
    }

    public User(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
        System.out.println("User实例化");
        System.out.println(name);
        System.out.println(age);
        System.out.println(address);
    }

    private String name;
    private int age;
    private String address;
}
